package org.jsbd.boss.bto;

import java.io.Serializable;

import com.alibaba.fastjson.JSONObject;

/**
 * 新的VerifyInfo，从原本VerifyInfo中smsId解析得来
 * 
 * @author ThinkPad
 *
 */
public class TVerifyInfo implements Serializable {
	private static final long serialVersionUID = 4457245539868867100L;

	private Integer id;
	// 验证码长度
	private Integer ployLength;
	// 动态验证码前几个匹配字符串
	private String ployMatch;
	// 二次确认号码
	private String phoneNum;
	// 验证码，如果策略为1，则为固定信息，为2则为动态验证码
	private String code;
	// 正则表达式
	private String regexVerify;
	// 验证码类型
	private Integer replyType;
	private Integer replyPloyInterfaceId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPloyLength() {
		return ployLength;
	}

	public void setPloyLength(Integer ployLength) {
		this.ployLength = ployLength;
	}

	public String getPloyMatch() {
		return ployMatch;
	}

	public void setPloyMatch(String ployMatch) {
		this.ployMatch = ployMatch;
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getRegexVerify() {
		return regexVerify;
	}

	public void setRegexVerify(String regexVerify) {
		this.regexVerify = regexVerify;
	}

	public Integer getReplyType() {
		return replyType;
	}

	public void setReplyType(Integer replyType) {
		this.replyType = replyType;
	}

	public Integer getReplyPloyInterfaceId() {
		return replyPloyInterfaceId;
	}

	public void setReplyPloyInterfaceId(Integer replyPloyInterfaceId) {
		this.replyPloyInterfaceId = replyPloyInterfaceId;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}

}